import App from './App'

import store from './store/index.js'
// 引入自定义路由跳转方法
import {navTo} from './utils/modules/router'
import "uview-ui/index.scss";

import Vue from 'vue'
import utils from '@/utils/index.js'

Vue.config.productionTip = false
// 引入全局组件
import loginPopup from '@/components/login-popup/login-popup.vue'
// 全局分享
// 小程序分享的封装
import share from "./plugins/share/share.js"
Vue.mixin(share)

Vue.prototype.$store = store
Vue.prototype.$navTo = navTo

import uView from "uview-ui"

Vue.use(uView);
Vue.use(utils);

Vue.component('login-popup', loginPopup)

App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()